package com.markus.basic.设计模式.单例模式;

/**
 * Author:markusZhang
 * Date:Create in 2020/8/24 15:59
 * todo: 饿汉式
 */
public class SingleTon2 {
    private static SingleTon2 instance = new SingleTon2();
    private SingleTon2(){}
    public static SingleTon2 getInstance(){
        return instance;
    }
}
